
<h1>仿JSON内置API parse方法</h1>
<script src="./json.js"></script>
<script>
    console.log(parse('{ "a": "1", "b": "2" }'))
</script>

<h1>仿JSON内置API stringify方法</h1>
<script src="./json.js"></script>
<script>
    console.log(stringify({ a: 1, b: 2 }))
</script>